package com.ml.structure.linkedlist.josephu;

public class Test {
	public static void main(String[] args) {
		ChildNode c1 = new ChildNode(1, "张三");
		ChildNode c2 = new ChildNode(2, "里斯");
		ChildNode c3 = new ChildNode(3, "王五");
		ChildNode c4 = new ChildNode(4, "赵刘");
		ChildNode c5 = new ChildNode(5, "七七七");
		Josephu j1 = new Josephu();
		j1.add(c1);
		j1.add(c2);
		j1.add(c3);
		j1.add(c4);
		j1.add(c5);
		j1.show();
		System.out.println("-------------------------");
		j1.delete(c1);
		j1.show();
	}
}
